package pinboard.dataLayer.net;

public class PipeContext {
    private boolean netState;
    private Object result = null;
    private int retryTimes;
    private boolean retry;
    private int waitMillis;
    private int connectTimeoutMillis;

    public boolean getNetState() {
        return netState;
    }

    void setNetState(boolean netState) {
        this.netState = netState;
    }

    public Object getResult() {
        return result;
    }

    void setResult(Object result) {
        this.result = result;
    }

    public int getRetryTimes() {
        return retryTimes;
    }

    void setRetryTimes(int retryTimes) {
        this.retryTimes = retryTimes;
    }

    public boolean getRetry() {
        return retry;
    }

    public void setRetry(boolean retry) {
        this.retry = retry;
    }

    public int getWaitMillis() {
        return waitMillis;
    }

    public void setWaitMillis(int waitMillis) {
        this.waitMillis = waitMillis;
    }

    public int getConnectTimeoutMillis() {
        return connectTimeoutMillis;
    }

    public void setConnectTimeoutMillis(int connectTimeoutMillis) {
        this.connectTimeoutMillis = connectTimeoutMillis;
    }
}
